package com.zhuiyun.project.cyclingapplet.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author guojingzhi
 * @since 2024-07-16
 */
public class Review implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 活动评价ID (胡家浩)
     */
    @TableId("review_id")
    private Integer reviewId;

    /**
     * 活动ID
     */
    private Integer activityId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 评价内容
     */
    private String activityContent;

    /**
     * 评分
     */
    private Double activityScore;

    /**
     * 评价时间
     */
    private LocalDateTime reviewTime;

    public Integer getReviewId() {
        return reviewId;
    }

    public void setReviewId(Integer reviewId) {
        this.reviewId = reviewId;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getActivityContent() {
        return activityContent;
    }

    public void setActivityContent(String activityContent) {
        this.activityContent = activityContent;
    }

    public Double getActivityScore() {
        return activityScore;
    }

    public void setActivityScore(Double activityScore) {
        this.activityScore = activityScore;
    }

    public LocalDateTime getReviewTime() {
        return reviewTime;
    }

    public void setReviewTime(LocalDateTime reviewTime) {
        this.reviewTime = reviewTime;
    }

    @Override
    public String toString() {
        return "Review{" +
        "reviewId = " + reviewId +
        ", activityId = " + activityId +
        ", userId = " + userId +
        ", activityContent = " + activityContent +
        ", activityScore = " + activityScore +
        ", reviewTime = " + reviewTime +
        "}";
    }
}
